﻿
using System;

namespace FamilyBook.Core.Entities
{
    public class Sequence : IEntityVersionable
    {
        public SequenceType SequenceId { get; set; }
        public int Counter { get; set; }
        public string Description { get; set; }

        #region IEntityVersionable
        public int Version { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }
        #endregion
    }

    public enum SequenceType
    {
        None = 0,
        AccountNumber = 1
    }
}
